<?php exit; // Отключаем тестовую страницу ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
    #INSERT_HEAD
	<title>AlohaCart Payment Interkassa Test Page</title>
</head>

<body>
<h3>Это то, что должна отправить Интеркасса</h3>
<form method="post" action="[(#URL_PAGE{alohacart_payment,code=interkassa&url=status}|url_absolue)]">
    <table>        
        <tr>
            <td>ik_shop_id:</td>
            <td><input type="text" name="ik_shop_id" value="48CCB334-746D-CB34-840D-AB477D137079" style="width: 300px;" /></td>
        </tr>
        <tr>
            <td>ik_payment_amount:</td>
            <td><input type="text" name="ik_payment_amount" value="9999" style="width: 300px;" /></td>
        </tr>
        <tr>
            <td>ik_payment_id:</td>
            <td><input type="text" name="ik_payment_id" value="12" style="width: 300px;" /></td>
        </tr>
        <tr>
            <td>ik_paysystem_alias:</td>
            <td><input type="text" name="ik_paysystem_alias" value="webmoneyu" style="width: 300px;" /></td>
        </tr>
        <tr>
            <td>ik_baggage_fields:</td>
            <td><input type="text" name="ik_baggage_fields" value="email: mail@mail.com, tel: +380441234567" style="width: 300px;" /></td>
        </tr>
        <tr>
            <td>ik_payment_state:</td>
            <td><input type="text" name="ik_payment_state" value="success" style="width: 300px;" /></td>
        </tr>
        <tr>
            <td>ik_trans_id:</td>
            <td><input type="text" name="ik_trans_id" value="IK_68" style="width: 300px;" /></td>
        </tr>
        <tr>
            <td>ik_currency_exch:</td>
            <td><input type="text" name="ik_currency_exch" value="1" style="width: 300px;" /></td>
        </tr>
        <tr>
            <td>ik_fees_payer:</td>
            <td><input type="text" name="ik_fees_payer" value="0" style="width: 300px;" /></td>
        </tr>
        <tr>
            <td>ik_sign_hash:</td>
            <td><input type="text" name="ik_sign_hash" value="4E8CB634A59022FDF8192BB4814AB071" style="width: 300px;" /></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="Отправить" />
            </td>
        </tr>
    </table>
</form>

<?php
    $payment = pdk_load_class('AlohacartPaymentInterkassa','classes/payment');    
    echo $payment->GetData(array('id_order'=>72));
?>

</body>
</html>